package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {

    public void save(DishDTO dishDTO);

    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void deleteDish(List<Long> ids);

    void updateDish(Dish dish);

    DishVO selectDishById(Long id);

    void updateDishALL(DishDTO dishDTO);

    Dish[] selectDishByCategoryId(Long id);

    List<DishVO> listWithFlavor(Dish dish);
}
